*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
li{
    list-style: none;
}
img{
    vertical-align: middle;
    border: none;
}

.top{
    height: 48px;
    background: #333;

}
.top .top-main{
    width: 1080px;
    height: 48px;
    margin: 0 auto;
    position: relative;
}
.top ul{
    float: right;
    line-height: 48px;
}
.top ul li{
    float: left;
    margin-right: 15px;
    color: #666;
    position: relative;
}
.top ul li a{
    color:  #e7e7e7;
    font-size: 14px;
}
.top ul li a:hover{
    color: #fff;
}
.top ul li:nth-of-type(5) a{
    padding-left: 30px;
    display: inline-block;
    position: relative;
}
.top ul li:nth-of-type(5) a::before{
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 30px;
    height: 30px;
    background: url(https://www.xiaomiyoupin.com/static3/media/yp-icons.7c45b9c9.png) no-repeat;
    background-position: 0 -964px;
}
.top ul li:nth-of-type(7){
    padding-right: 30px;
    margin-right: 0;
}
.top ul li:nth-of-type(7)::after{
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: 9px;
    background: url(https://www.xiaomiyoupin.com/static3/media/yp-icons.7c45b9c9.png) no-repeat;
    background-position: 0 -1678px;
}

.top .top-main .li-menu{
    width: 160px;
    height: 0px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 0 2px #bbb;
    position: absolute;
    right: 10px;
    top: 48px;
    transition: 0.2s;
    z-index: 20;
}
.top .top-main .li-menu span{
    width: 160px;
    height: 35px;
    display: block;
    text-align: center;
    line-height: 35px;
    font-size: 14px;
    cursor: pointer;
}
.top .top-main .li-menu span:hover{
    background-color: #845f3f;
    color: #fff;
}
.mask{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    z-index: 100;
    top: 0px;
    display: none;
}
.top .top-mask{
    width: 370px;
    height: 190px;
    padding: 50px 40px 40px;
    box-sizing: content-box;
    background: #fff;
    position: fixed;
    left: calc(50% - 240px);
    top: 120px;
    z-index: -1;
    opacity: 0;
    transition: 0.3s;
}
.top .top-mask span{
    position: absolute;
    width: 13px;
    height: 13px;
    background: url(https://www.xiaomiyoupin.com/static3/media/yp-icons.7c45b9c9.png) no-repeat;
    background-position: 0 -135px;
    cursor: pointer;
    right: 20px;
    top:20px;
}
.top .top-mask h3{
    text-align: center;
    margin-bottom: 30px;
    font-weight: normal;
}
.top .top-mask span:hover{
    background-position: 0 -118px;
}
.top .top-mask p{
    font-size: 14px;

}
.top .top-mask p a{
    font-size: 14px;
    color: #9f8052;
}
.top .top-mask .mask-btn{
    display: inline-block;
    width: 179px;
    height: 43px;
    border: 1px solid #845f3f;
    border-radius: 3px;
    font-size: 20px;
    text-align: center;
    margin-top: 30px;
    line-height: 43px;
}
.top .top-mask .mask-btn1{
    background-color: #845f3f;
    color: #fff;
    margin-right: 3px;
    position: relative;
}
.top .top-mask .mask-btn1 em{
    position: absolute;
    width: 181px;
    height: 45px;
    border-radius: 3px;
    background-color: rgba(255,255,255,0.5);
    left: -1px;
    top: -1px;
    opacity: 0;
    transition: 0.2s;
}
.top .top-mask .mask-btn1:hover em{
    opacity: 1;
}
.top .top-mask .mask-btn2{
    color: #845f3f;
    transition: 0.2s;
}
.top .top-mask .mask-btn2:hover{
    background: #845f3f;
    color: #fff;
}



// header

.header{
    height: 51px;
    padding-top: 20px;
    border-bottom: 1px solid #ddd;
}
.header-main{
    width: 1080px;
    height: 51px;
    margin: 0 auto;
    background-color: #fff;
    position: relative;
}
.header-main .header-logo{
    width: 123px;
    height: 51px;
    float: left;
    background: url(https://www.xiaomiyoupin.com/static3/media/logo@2x.cf8cc6a8.png) no-repeat;
    background-size: 100%;
}
.header-main .header-logo a{
    display: block;
    width: 123px;
    height: 51px;
}

.header-main .header-nav{
    float: left;
    margin-left: 130px;
}
.header-main .header-nav li{
    float: left;
    line-height: 51px;
    margin-right: 32px;
}
.header-main .header-nav li a{
    font-size: 18px;
    color: #666;
}
.header-main .header-nav li a:hover{
    color: #845f3f;
}


.header-main form{
    float: right;
    position: relative;
    left: -50px;
}
.header-main form input{
    width: 246px;
    height: 32px;
    padding-left: 35px;
    padding-top: 9px;
    border: none;
    outline: none;
    border-bottom: 1px solid #ddd;
    transition: 0.2s;
}
.header-main form a{
    position: absolute;
    width: 30px;
    height: 30px;
    background: url(https://www.xiaomiyoupin.com/static3/media/yp-icons.7c45b9c9.png) no-repeat;
    background-position: 0 -1474px;
    left: 0;
    bottom: 5px;
}
.header-main .shopcar{
    position: absolute;
    right: 0;
    bottom: 5px;
}
.header-main .shopcar span{
    position: absolute;
    right: -6px;
    top: -3px;
    width: 21px;
    border-radius: 8px;
    line-height: 17px;
    display: block;
    text-align: center;
    color: #fff;
    font-size: 12px;
    background-color: #c00000;
}
.header-main .shopcar a{
    display: block;
    width: 30px;
    height: 30px;
    background: url(https://www.xiaomiyoupin.com/static3/media/yp-icons.7c45b9c9.png) no-repeat;
    background-position: 0 -1202px;
}
.header-main .shopcar a:hover{
    background: url(https://www.xiaomiyoupin.com/static3/media/yp-icons.7c45b9c9.png) no-repeat;
    background-position: 0 -1168px;
}


// container 

.container{
    width: 100%;
    height: 100%;
    float: left;
    margin-top: 60px;
}

.container .con-main{
    width: 1080px;
    margin: 0 auto;
}

.container .con-main .banner{
    width: 465px;
    height: 374px;
    background: #fff;
    float: left;
    margin-right: 46px;
    position: relative;
}

.container .con-main .banner .ban-small{
    width: 372px;
    height: 372px;
    float: left;
    border: 1px solid #ececec;
    position: relative;
}
.container .con-main .banner .ban-small img{
    width: 372px;
    height: 372px;
    position: absolute;
    display: none;
    z-index: 10;
}
.container .con-main .banner .ban-small .small-active{
    display: block;
}

.container .con-main .banner .ban-list{
    width: 85px;
    height: 374px;
    float: right;
    position: relative;
}
.container .con-main .banner .ban-list .list-container{
    height: 576px;
    width: 85px;
    position: absolute;
    top: 0;
    transition: 0.3s;
}
.container .con-main .banner .ban-list .list-container .list-pic{
    width: 84px;
    height: 84px;
    margin-bottom: 11px;
    border: 1px solid #eee;
    cursor: pointer;
}
.container .con-main .banner .ban-list .list-container .list-pic img{
    width: 83px;
    height: 83px;
    margin-top: 1px;
}
.container .con-main .banner .ban-list .list-container .pic-active{
    border-color: red;
}



.container .con-main .word{
    width: 561px;
    float: right;
    background-color: #fff;
}
.container .con-main .word .word-title{
    margin-bottom: 20px;
}
.container .con-main .word .word-title h4{
    line-height: 26px;
    font-size: 20px;
    color: #333;
    font-weight: normal;
}

.container .con-main .word .word-title p{
    color: #c00000;
    line-height: 18px;
    font-size: 12px;
}
.container .con-main .word .word-title span a{
    text-decoration: underline;
    color: #c00000;
    line-height: 18px;
    font-size: 12px;
    margin-right: 3px;
}
.container .con-main .word .word-title span{
    line-height: 18px;
    font-size: 12px;
    color: #999;
}

.container .con-main .word .goods-card{
    margin-bottom: 26px;
    padding: 10px;
    background-color: #f9f9f9;
    float: left;
}
.container .con-main .word .goods-card .goods-price{
    margin-top: 12px;
    margin-bottom: 12px;
    height: 37px;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 40px;
}

.container .con-main .word .goods-card .goods-price h3{
    font-size: 12px;
    float: left;
    margin-right: 10px;
    width: 48px;
    font-weight: normal;
}
.container .con-main .word .goods-card .goods-price i{
    font-size: 12px;
    font-style: normal;
    color: #c00000;
    float: left;
    margin-top: 6px;
}   
.container .con-main .word .goods-card .goods-price b{
    font-weight: normal;
    font-size: 30px;
    color: #c00000;
    float: left;
}
.container .con-main .word .goods-card .goods-price em{
    font-size: 12px;
    font-style: normal;
    color: #c00000;
    float: left;
    margin-top: 6px;
}
.container .con-main .word .goods-card .goods-price del{
    font-size: 12px;
    font-style: normal;
    color: #bbb;
    float: left;
    margin-top: 6px;
    margin-left: 20px;
}
.container .con-main .word .goods-card .goods-price p{
    height: 20px;
    line-height: 20px;
    padding: 0 6px;
    margin-left: 8px;
    background-color: #c00000;
    color: #fff;
    font-size: 12px;
    vertical-align: 2px;
    border-radius: 2px;
    float: left;
    margin-top: 16px;
}
.container .con-main .word .goods-card .goods-server ul{
    float: left;
    line-height: 1.7;
    padding-bottom: 15px;
}

.container .con-main .word .goods-card .goods-server h3{
    font-size: 12px;
    float: left;
    margin-right: 10px;
    width: 48px;
    font-weight: normal;
    margin-top: 5px;
}
.container .con-main .word .goods-card .goods-server ul li a{
    display: inline-block;
    background: url(https://www.xiaomiyoupin.com/static3/media/yp-icons.7c45b9c9.png) no-repeat;
    width: 16px;
    height: 16px;
    background-position: 0 -231px;
    margin-right: 5px;
}
.container .con-main .word .goods-card .goods-server ul li b{
    color: #9f8052;
    font-weight: normal;
    margin-left: 8px;
}


.container .con-main .word .goods-shop{
    float: left;
}
.container .con-main .word .goods-shop .place{
    margin-bottom: 15px;
}
.container .con-main .word .goods-shop .place h3{
    font-size: 12px;
    font-weight: normal;
    float: left;
    margin-right: 15px;
    margin-top: 3px;
}

.container .con-main .word .goods-shop .place span{
    font-size: 14px;
    color: #333;
    float: left;
    margin-right: 10px;
}
.container .con-main .word .goods-shop .place a{
    color: #666;
    font-size: 14px;
}
.container .con-main .word .goods-shop .place a:hover{
    color: #845f3f;
}
.container .con-main .word .goods-shop .goods-num{
    float: left;
}
.container .con-main .word .goods-shop .goods-num h3{
    font-size: 12px;
    font-weight: normal;
    float: left;
    margin-top: 10px;
    margin-right: 40px;
}

.container .con-main .word .goods-shop .goods-num button{
    width: 34px;
    height: 30px;
    border: 1px solid #bbb;
    background-color: #fff;
    float: left;
    outline: none;
    cursor: pointer;
}
.container .con-main .word .goods-shop .goods-num input{
    width: 60px;
    height: 28px;
    border: 1px solid #bbb;
    background-color: #fff;
    border-left: none;
    border-right: none;
    float: left;
    margin-bottom: 30px;
    outline: none;
    font-weight: bold;
    text-align: center;
}

.container .con-main .word .goods-shop .goods-cart button{
    min-width: 167px;
    height: 52px;
    line-height: 50px;
    font-size: 20px;
    outline: none;
    border: none;
    display: inline-block;
    border-radius: 2px;
    text-align: center;
    margin-right: 15px;
    cursor: pointer;
    color: #845f3f;
    border: 1px solid #845f3f;
    background: #fff;
    transition: 0.3s;
}
.container .con-main .word .goods-shop .goods-cart .btn1{
    background: #845f3f;
    color: #fff;
    position: relative;
}
.container .con-main .word .goods-shop .goods-cart span{
    display: block;
    min-width: 167px;
    height: 52px;
    display: inline-block;
    border-radius: 2px;
    cursor: pointer;
    color: #845f3f;
    background: rgba(255,255,255,0);
    position: absolute;
    left: -1px;
    top: -1px;
    transition: 0.3s;
}
.container .con-main .word .goods-shop .goods-cart .btn1:hover span{
    background: rgba(255,255,255,0.5);
}
.container .con-main .word .goods-shop .goods-cart .btn2:hover{
    background: #845f3f;
    color: #fff;
}